package com.csxy.mxj.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description = "EduCourseDescription对象")
@Data
public class EduCourseDescription implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "课程ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @Schema(description = "课程简介")
    private String description;


//    @Schema(description = "逻辑删除 1（true）已删除，0（false）未删除")
//    @TableLogic
//    private Integer isDeleted;

    @Schema(description = "创建时间", example = "2019-01-01 08:00:00")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @Schema(description = "更新时间", example = "2019-01-01 08:00:00")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}